package dao;

import java.util.ArrayList;

import po.Diary;

/**
* @author 曹桢瑞
* DiaryDAO
*/
public interface DiaryDAO {
	public ArrayList<Diary> getDiary(String userId,long submitTime);
	public ArrayList<Diary> getDiaryList(String userId,int num);
	public boolean addDiary(Diary diary);
	public boolean removeDiary(String userId,long submitTime);
	public boolean updateDiary(Diary diary);
}
